﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InnovTech.Data
{
    /// <summary>
    /// Describes the parameter of a service.
    /// </summary>
    public interface IServiceParameter : IBehaviorParameter
    {
    }

    /// <summary>
    /// Describes a service object of a domain.
    /// </summary>
    /// <typeparam name="TResult"></typeparam>
    public interface IService<TResult> : IDomainObject
    {
        TResult Execute(IServiceParameter parameter);
    }
}
